#include <iostream>
#include <string>

#include "word_filter.h"

int main(void) {
  global::WordFilter wf;

  if (wf.Initialize("word.txt") == false) {
    std::cerr << "load word.txt failed." << std::endl; 
    return -1;
  }

  // search
  std::string str1 = "000000hehehe111111111111saysyasayshe";
  wf.Block(&str1);

  std::cout << str1 << std::endl;


  return 0;
}
